<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>验证证书</title>
</head>
<body style="text-align:center;">
    <h1>测试验证证书 webapp 模块</h1>
    <p th:if="${message != null}">[[${message}]]</p>

    <div>
        <p>
            <label title="code">
                <textarea rows="15" style="width: 500px" th:text="${licenseAuthInfo.code}"></textarea>
            </label>
        </p>
        <p>[[${licenseAuthInfo.beginTime}]]</p>
        <p>[[${licenseAuthInfo.afterTime}]]</p>
        <p>[[${licenseAuthInfo.params}]]</p>
    </div>

    <form enctype="multipart/form-data" method="post" action="/license">
        <input type="file" name="file">
        <button type="submit">提交证书</button>
    </form>

    <div>
        <a href="/test/1">校验用户数量</a>
        <br/>
        <a href="/test/2">校验当前程序是否已经注册</a>
        <br/>
        <a href="/test/3">校验xx是否已过期</a>
    </div>

</body>
</html>
